.detail-page {
    width: 100%;
}

.info-section {
    margin-bottom: 24px;
    border-radius: 4px;
    overflow: hidden;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background-color: #754fa0;
    border-radius: 4px 4px 0 0;
    border-bottom: 1px solid #e0e0e0;
    transition: background-color 0.3s ease;
}

.section-header:hover {
    background-color: #8a5fb8;
}

.section-title {
    font-size: 16px;
    font-weight: 500;
    color: #fff;
}

.section-content {
    padding: 16px;
    background-color: #fff;
}

.form-row {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.form-item {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    width: 100%;
}

.form-item-label {
    min-width: 125px;
    text-align: right;
    padding-right: 8px;
    font-weight: 500;
    color: rgba(0, 0, 0, 0.85);
}

.form-item-value {
    flex: 1;
    color: rgba(0, 0, 0, 0.65);
    padding: 4px 8px;
    border: 1px solid #d9d9d9;
    border-radius: 2px;
    min-height: 22px;
    background-color: #f5f5f5;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 16px;
}

.form-grid-item {
    display: flex;
    align-items: center;
}

.table-actions {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.action-button {
    margin: 0 4px;
}

/* 表格中的按钮样式 */
.MuiTableCell-root .MuiButton-outlined {
    text-transform: none;
    font-size: 12px;
    padding: 4px 8px;
    min-width: 60px;
    border-radius: 4px;
    transition: all 0.3s;
}

.MuiTableCell-root .MuiButton-outlinedPrimary:hover {
    background-color: rgba(25, 118, 210, 0.08);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.MuiTableCell-root .MuiButton-outlinedError:hover {
    background-color: rgba(211, 47, 47, 0.08);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.add-button {
    margin-bottom: 16px;
    display: flex;
    justify-content: flex-end;
}

/* 响应式布局 */
@media (min-width: 576px) {
    .form-item {
        width: 50%;
    }
}

@media (min-width: 992px) {
    .form-item {
        width: 33.33%;
    }
}

@media (min-width: 1200px) {
    .form-item {
        width: 25%;
    }
}

/* 日志部分 */
.log-item {
    margin-bottom: 16px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
}

.log-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    background-color: #f5f5f5;
    border-bottom: 1px solid #e0e0e0;
}

.log-content {
    padding: 12px;
    background-color: #fff;
    min-height: 80px;
    border-radius: 0 0 4px 4px;
}

.log-actions {
    display: flex;
    gap: 8px;
}

.textarea-container {
    width: 100%;
    margin-bottom: 16px;
}

.add-log-button {
    width: 100%;
    display: flex;
    justify-content: center;
    margin: 16px 0;
}

/* 页面最顶部的面包屑和操作按钮 */
.page-header {
    margin-bottom: 20px;
}
